IAxis.MoveVelocity 方法

命令一個永不停止的控制運動以指定的速度移動。

命名空間IntervalZero.KINGSTAR.Base.Class

組合: IntervalZero.KINGSTAR.Base.Class (於 IntervalZero.KINGSTAR.Base.dll) 版本:4.4.0.0

語法

C#VB
IMoveVelocityCommand MoveVelocity(
       double velocity,
       double acceleration,
       double deceleration,
       double jerk,
       McDirection direction,
       McBufferMode bufferMode
)
Function MoveVelocity(
       velocity As Double,
       acceleration As Double,
       deceleration As Double,
       jerk As Double,
       direction As McDirection,
       bufferMode As McBufferMode
)As IMoveVelocityCommand

參數

velocity

型別:double

指定速度的值。[單位/秒]

 

acceleration

型別:double

加速度值,單位由 McProfileType 決定(增加馬達電量)。[單位/秒2] 或 [秒]

 

deceleration

型別:double

減速度值,單位由 McProfileType 決定(減少馬達電量)。[單位/秒2] 或 [秒]

 

jerk

型別:double

加加速度值,單位由 McProfileType 決定。[單位/秒3] 或 [秒]

 

direction

型別:McDirection

軸的移動方向。無法使用 mcShortestWay

 

bufferMode

型別:McBufferMode

定義如何融合兩方法的速度。

回傳值

型別:IMoveVelocityCommand

回傳一個速度移動的屬性。

備註

參見

IAxis 介面

IntervalZero.KINGSTAR.Base.Class 命名空間